package com.nnnu.wsnackshop.pojo.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.data.ImageData;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class ProductExportVO {
    @ExcelProperty("门店名称")
    private String storeName;

    @ExcelProperty("分类名称")
    private String categoryName;

    @ExcelProperty("品牌名称")
    private String brandName;

    @ExcelProperty("商品名称")
    private String name;

    @ExcelProperty("描述")
    private String description;

    /**
     * 图片列，EasyExcel 会将 ImageData 渲染为单元格内图片
     */
    @ExcelProperty("主图")
    private ImageData picture;

    @ExcelProperty("状态")
    private Integer status;
}

